package com.ding;

import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ImportResource;


//引入配置事物的xml文件
@ImportResource("classpath*:config/transaction.xml")
@ServletComponentScan
@SpringBootApplication(scanBasePackages = { "com" })
public class DingManagerApplication {

	public static Logger logger = Logger.getLogger(DingManagerApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(DingManagerApplication.class, args);
		logger.info("=========启动结束---DingManagerApplication=========");
	}



}
